close all;

reg = 3;

%% ---------------------------------------------------------------
figure;

for reg = 3:5

% method = 4;
% plot(out{method,reg}.Time, out{method,reg}.RMSE, 'linewidth', 2, 'color', 'red');
% hold on;

method = 3;
plot(out{method,reg}.Time, out{method,reg}.RMSE, 'linewidth', 2, 'color', 'blue');
hold on;
    
method = 1;
plot(out{method,reg}.Time, out{method,reg}.RMSE, 'linewidth', 2, 'color', 'green');
hold on;

method = 2;
plot(out{method,reg}.Time, out{method,reg}.RMSE, 'linewidth', 2, 'color', 'yellow');

% axis([0, 500, 1, 100000]);
xlabel('time(second)');
ylabel('objective');
% legend('GIST(no gamma)', 'GIST(partial SVD)', 'NOCOL(standard)', 'NOCOL(fast)');
% legend('GIST', 'NOCOL', 'fastNOCOL');
box on;

end
